﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using FluentTemplates.Test.FluentControls;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace FluentTemplates.Test
{
    [TestClass]
    public class Tests:SilverlightTest
    {
        [TestMethod]
        public void TestMethod1()
        {
            this.TestPanel.Children.Add(new ControlWithNoTemplate());
            this.TestPanel.Children.Add(new Button());
        }
        [TestMethod]
        public void FluentTest()
        {
            this.TestPanel.Children.Clear();
            this.TestPanel.Children.Add(new TestFluentControl());
            this.TestPanel.InvalidateMeasure();
        }

        [TestMethod]
        public void AttributeTest()
        {
            this.TestPanel.Children.Clear();
            this.TestPanel.Children.Add(new AttributeControls.AttributeTestControl());
            this.TestPanel.InvalidateMeasure();
        }
    }
}